home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / comm1 / pfusag11.rdm < prev    next >
Text File  |  1996-05-20  |  5KB  |  114 lines

  1. Short:    Creates pfiles subboard activity graphs
  2. Author:   desfox@superior.net (Fred Kuhne)
  3. Uploader: desfox@superior.net (Fred Kuhne)
  4. Type:     comm/cnet
  5.  
  6. CNet Pfile Subboard Activity Graph, Version 1.1
  7.  
  8. This program will read in the info from CNet's data files and configure its'
  9. own data file from those.  Then, based on that information it will construct
  10. an activity graph of the pfiles usage, and the percentage of the time they 
  11. were used for the files in each subdirectory.  This program will not make one
  12. 'global' activity graph of all your pfiles, rather it will construct individual
  13. ones for each sub-directory in your pfiles directory.
  14.  
  15. For example, if you have a pfile subdirectory called Strategy, with 2 pfiles 
  16. inside, called, say  "War" and "Peace", the program would keep track of the 
  17. information for each pfile and construct a graph something like below (only in
  18. ansi)
  19. .------------------------------------------------------------.
  20. | War       Used 23 Times     --------------------70%        |
  21. | Peace     Used 10 Times     ---------30%                   |
  22. `------------------------------------------------------------'
  23.  
  24.  _____________________________________________________________________________
  25. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%+
  26.  
  27. Installation:
  28.  As you have already unarchived the files I'll consider that a given.  Second,
  29. copy all the files in the archive into pfiles _in the directory they are 
  30. already in_!  Copy the whole directory into pfiles!
  31.  ___________________________
  32. %%%%%%%%%%%%%%%%%%%%%%%%%%%+
  33.  
  34. Next, from inside CNet run the program 'gsi'.  You can run it with
  35. the RunALL program by Dotoran or you can set it up as an Arexx Pfile in your
  36. maintainence directory in pfiles, or even invoke the CNet visual editor and
  37. type Ctrl-Q#0pfiles:pfusage/gsi} followed by a Ctrl-p, if you so desire.
  38. This program will prompt you for the number of subboards you wish to include.
  39. This is so that you can skip any maintainence subs or any others you don't want
  40. involved.  (By the way, if you don't have your pfiles in sub-directories, shame
  41. on you!  You'll have to wait till the next version when I will have coded 
  42. support for that.)
  43.  ___________________________
  44. %%%%%%%%%%%%%%%%%%%%%%%%%%%+
  45.  
  46. It's time to add a new logfile!  If you already have a log running for RunPfile
  47. fine, just change the name to pfuse.log and all the items in the logfile will be
  48. added to the graph.  You don't have to start from 0 if you already have the log
  49. going.  You do, however, need to rename it to pfuse.log.  Otherwise, run Config
  50. and find the entry for RunPfile (it's right at the bottom of the list).  Click 
  51. it once.  To right where it says 'Optional Log Filename' enter pfuse.log  
  52. That's it.  Click on Add and you're all set.
  53.  ___________________________
  54. %%%%%%%%%%%%%%%%%%%%%%%%%%%+
  55.  
  56. Next you will be adding something to CNet's events.  Run CNet config; Enter 
  57. events and add the following event:
  58.  
  59. Args:     pfiles:pfusage/usage
  60. Ports:    whatever port number you normally run your maintainence from
  61. Days:     All
  62. Time:     whatever you like
  63. Interval: I suggest something like 5-10 minutes, but it can be whatever you
  64.           like.  More if your pfiles are EXTREMELY busy, less if they are 
  65.           fairly inactive.
  66. Iterate:  Whatever your little heart desires (For 5 minutes above, it's 298)
  67.  
  68. Now add it as an Arexx event and save.  That part is done.
  69.  
  70.  ___________________________
  71. %%%%%%%%%%%%%%%%%%%%%%%%%%%+
  72.  
  73. ****-----Alternate installation-----****
  74. #1   Add to the end of line 39 of bbstext {#0pfiles:pfusage/usage}  This will 
  75. activate the program at logoff.          ^----Ctrl-Q
  76.  
  77. #2   Add the same line as in #1, above, to your sys.exit for the subboards 
  78. included.
  79.  _____________________________________________________________________________
  80. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%+
  81. That's it!!!!!  Now, whenever a user enters the pfiles sub-directories they 
  82. will see an activity graph of the pfiles in that subboard!  ***Unless they 
  83. have their help level set to superuser.***  If you want ALL your users to see
  84. it you must disable their superuser status.  There are several ways to do this.
  85. One is an enhancement available in CNet toolkit that modifies your BBSTEXT.  
  86. Another is a script which would go through all users accounts and change their
  87. help level to expert if it was set to superuser.  I have one that does this if
  88. you want it send me E-mail. __________________________________________________
  89. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%+
  90.  
  91. --===Disclaimer===--
  92. There is no warranty either real or implied with this software.  You use it at
  93. your own risk and the author cannot be held responsible for any damage done by
  94. the program.  "It works fine on my system, but may make yours crap the bed."
  95.  
  96. This program is Mailware.  If you use it and enjoy it, send the author mail at 
  97. one of the addresses below.
  98.  
  99. desfox@mb.org
  100. desfox@superior.net
  101. Desert Fox@911:6000/18.0  Clink
  102.  
  103.  
  104. Desert Fox <desfox@mb.org>
  105. -----BEGIN PGP PUBLIC KEY BLOCK-----
  106. Version: 2.6ui (Amiga)
  107.  
  108. mQCNAjE58UMAAAEEALxQAXUHQwONQFPLQie9A+/BInuWJtbnH9Xm97mSzvG+7KpY
  109. NAvyTmloFXqK0f35nOhuZ6yFQFkFRw+N9RowRFyAsNSGi4Xxl9BTefMVQRjQ+PL9
  110. PGJdI+AlCHT36J3/Z5GgIwwjXK37UhvSRqnGcw7XvhI1etcx9hgotY+QUE9NAAUR
  111. tBpGcmVkIEt1aG5lIDxkZXNmb3hAbWIub3JnPg==
  112. =aOzx
  113. -----END PGP PUBLIC KEY BLOCK-----
  114.